package com.gaoxin.api.service.stuservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gaoxin.api.dao.studao.QueryStuCourseMapper;
import com.gaoxin.api.entity.statisentity.StudentInfo;

/**
 * 查询学生的所有课程
 * @author zhaozhenshe
 * 2018-08-02
 */
@Service
public class QueryStuCourseService {
	@Autowired 
	private  QueryStuCourseMapper courseMapper;
	/**
	 * 查询学生所有课程
	 * @param stuNumber
	 * @param semester
	 * @return
	 */
	public StudentInfo findStuCourse(String stuNumber,String year,String term)throws Exception{
		return courseMapper.findStuCourse(stuNumber, year, term);
	}
}
